package com.mas.admin.biz.model.vo.users;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author godyao
 * @description 用户状态更新 Request VO
 * @date 2023年01月19日17:05
 */
@ApiModel("管理后台 - 用户状态更新 Request VO")
@Data
public class UserUpdateStatusReqVO {
    @ApiModelProperty(value = "用户ID", required = true, example = "1")
    @NotNull(message = "用户编号不能为空")
    private Long id;

    @ApiModelProperty(value = "状态", required = true, example = "1", notes = "见 CommonStatusEnum 枚举")
    @NotNull(message = "状态不能为空")
    private Integer status;
}
